<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1.0, user-scalable=no">
		<title>微官网</title>
		<link rel="stylesheet" href="css/frozenui.css">
		<link rel="stylesheet" href="css/style.css">
		<script src="js/public/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>

	<body>
		<div class="vuedata">
		<header class="ui-header ui-header-positive ui-border-b">
			<!--<i class="icongoh"></i>-->
			<h1>校园</h1>
			<button class="ui-btn confben" @click="column">栏目</button>
		</header>
		<div class="ui-container " >
			<div class="ui-slider sliders" id="ul">
				<ul>
					<li v-for="(img, index) in result" v-show="index===mark" :key="index">
						<img :src="(ip+img.pic)">
		
					</li>
				</ul>
			</div>
			
			<div class="news">
				<ul class="ui-list ui-list-text ui-border-tb">
					<li class="ui-border-t">
						<div class="ui-list-info">
							<h4 v-for="(item,index) in note " @click="notego(item.id)"><i class="iconnotice"></i>{{subst(item.title)}}</h4>
						</div>
						<div class="ui-badge-muted" @click="notego('more')">更多</div>
					</li>
				</ul>
			</div>
			<div class="notes">
				<ul class="ui-list ui-list-function ui-border-tb ">
					<li v-for="(item, index) in list" :key="index" @click="htmlgo(item.id)">
						<div class="ui-list-thumb ui-avatar-s">
							<span :style="{backgroundImage:'url('+ip+item.pic+')'}"></span>
						</div>
						<div class="ui-list-info ui-border-t">
							<h4>{{subst(item.title)}}</h4>
							<p>发布者：{{item.poster}}</p>
							<p>时 间：{{timestampToTime(item.add_time).split(' ')[0]}}</p>
						</div>
						<div class="ui-badge-muted"><i class="good"></i><span>{{item.praise}}</span></div>
					</li>
					
					<div class="ui-loading-wrap boxadd" @click="onloading">
						{{longtext}}
					</div>
				</ul>
			</div>
		</div>
		<div class="ui-dialog " id="dialog2" :class="[isshow?'show':'']">
			<div class="ui-dialog-cnt conf">
				<div class="ui-dialog-bd">
					<div class="demo-item" v-for="(item,index) in columnArr">
						<p class="demo-desc">{{item.title}}</p>
						<div class="demo-block">
							<div class="ui-btn-wrap">
								<!-- 按钮样式1 -->
								<button class="ui-btn confbrn " v-for="(item2,index2) in item.children" :class="[item2.status?'confbrn-primary':'']" @click="selectIds(index,item2)" >{{item2.title}}</button>
							</div>
						</div>
					</div>
				</div>
				<div class="ui-dialog-ft  confbottom">
					<button type="button" data-role="button" @click="hideFilter">取消</button>
					<button type="button" data-role="button" @click="confirmSelectFun">确定</button>
				</div>
			</div>
		</div>
				
		</div> 
		<script src="js/public/vue-resource.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/public/pub.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/index.js" type="text/javascript" charset="utf-8"></script>
	
	</body>

</html>